From: Richard M. Stallman Date: Wed, 27 Apr 1994 08:27:50 +0000 (+0000) Subject: (xmenu_show, xdialog_show): X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~91933 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d9209dee0ac6bcb6f78680ba1241617f05f0ce3c;p=emacs.git (xmenu_show, xdialog_show): If we unread some events, set interrupt_input_pending. --- diff --git a/src/xmenu.c b/src/xmenu.c index 50e3ceb2ccd..40aadbcc06c 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -1682,6 +1682,8 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error) XPutBackEvent (XDISPLAY &queue_tmp->event); queue = queue_tmp->next; free ((char *)queue_tmp); + /* Cause these events to get read as soon as we UNBLOCK_INPUT. */ + interrupt_input_pending = 1; } /* Find the selected item, and its pane, to return @@ -1930,6 +1932,8 @@ xdialog_show (f, menubarp, keymaps, title, error) XPutBackEvent (XDISPLAY &queue_tmp->event); queue = queue_tmp->next; free ((char *)queue_tmp); + /* Cause these events to get read as soon as we UNBLOCK_INPUT. */ + interrupt_input_pending = 1; } /* Find the selected item, and its pane, to return